﻿@using Microsoft.AspNet.Identity

@{
    ViewBag.Title = "TestNotTaken";
}

@if (User.Identity.GetUserName() == "")
{
    <h2>Please log in before viewing your results.</h2>
}

else
{
    <br/>
    <div class="panel panel-danger">
        <div class="panel-heading">
            <h3 class="panel-title">Error!</h3>
        </div>
        <div class="panel-body">
            You haven't taken the test yet, <b>@User.Identity.GetUserName()</b> . Take it @Html.ActionLink("here!", "Quiz", "Customer")
        </div>
    </div>
}